﻿using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO {
    /// <summary>
    /// 分佣明细
    /// </summary>
    public class token_bill_detial_dto {
        public long id { get; set; }
        /// <summary>
        /// 分佣id
        /// </summary>
        public long? token_bill_id { get; set; }
        /// <summary>
        /// 分佣类型
        /// </summary>
        public UserType user_type { get; set; }
        /// <summary>
        /// 分佣类型描述
        /// </summary>
        public string user_type_desc { get; set; }
        /// <summary>
        /// 获得分佣用户
        /// </summary>
        public long merchant_id { get; set; }
        /// <summary>
        /// 获得分佣用户账号
        /// </summary>
        public string merchant_name { get; set; }
        /// <summary>
        /// 获得分佣用户等级
        /// </summary>
        public UserType merchant_user_type {get;set;}
        /// <summary>
        /// 获得分佣用户等级描述
        /// </summary>
        public string merchant_user_type_desc { get; set; }
        /// <summary>
        /// 邀请人
        /// </summary>
        public long invite_merchantId { get; set; }
        /// <summary>
        /// 邀请人账号
        /// </summary>
        public string invite_merchant_name { get; set; }
        /// <summary>
        /// 升级人
        /// </summary>
        public long apply_merchantId { get; set; }
        /// <summary>
        /// 升级账号
        /// </summary>
        public string apply_merchant_name { get; set; }
        /// <summary>
        /// 分佣金额
        /// </summary>
        public decimal commission { get; set; }
        /// <summary>
        /// 分佣比例
        /// </summary>
        public decimal proportion { get; set; }
        /// <summary>
        /// 是否已确认
        /// </summary>
        public bool is_comfirm { get; set; }
        /// <summary>
        /// 是否为业绩收益【 false：分销，true：业绩】
        /// </summary>
        public bool is_bus { get; set; }
        /// <summary>
        /// 类型 0：冻结，1：解冻
        /// </summary>
        public int type { get; set; }
        /// <summary>
        /// 支付id
        /// </summary>
        public long? pay_id { get; set; }
        /// <summary>
        /// 转账凭证
        /// </summary>
        public string transfer_voucher { get; set; }
        /// <summary>
        /// 确认凭证
        /// </summary>
        public string comfirm_transferVoucher { get; set; }
        /// <summary>
        /// 收款信息
        /// </summary>
        public recivables_dto recivables_info { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime update_time { get; set; }
    }
   
}
